podman fixes
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
./node_modules
|
/node_modules
|
||||||
|
|||||||
2
deploy.sh
Normal file
2
deploy.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
podman stop webser
|
||||||
|
podman build -t webserver -f ./dockerfile . && podman run --name webserver -d -p 3030:3000 webserver
|
||||||
@ -5,6 +5,7 @@ COPY ./index.html .
|
|||||||
COPY ./main.js .
|
COPY ./main.js .
|
||||||
COPY ./backend.js .
|
COPY ./backend.js .
|
||||||
COPY ./package.json ./package-lock.json .
|
COPY ./package.json ./package-lock.json .
|
||||||
|
COPY ./style.css .
|
||||||
|
|
||||||
RUN npm i
|
RUN npm i
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user