docker fix
This commit is contained in:
@ -1,3 +1,3 @@
|
||||
podman stop imposter
|
||||
podman rm imposter
|
||||
podman build -t imposter .f ./dockerfile . && podman run --name imposter -d -p 3050:3000 imposter
|
||||
podman build -t imposter -f ./dockerfile . && podman run --name imposter -d -p 3050:3000 imposter
|
||||
@ -7,10 +7,12 @@ COPY ./style.css .
|
||||
COPY ./backend.js .
|
||||
COPY ./package.json .
|
||||
COPY ./package-lock.json .
|
||||
COPY ./session .
|
||||
COPY ./game .
|
||||
COPY ./session ./session
|
||||
COPY ./game ./game
|
||||
|
||||
RUN npm i
|
||||
RUN touch ./imposter.db || true
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "backend.js"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user