copy over assets to image

This commit is contained in:
cirroskais 2024-04-28 05:26:43 -04:00
parent a25d268d19
commit be5ec97450
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ COPY --from=install /tmp/prod/node_modules node_modules
COPY --from=build /usr/src/app/out out COPY --from=build /usr/src/app/out out
COPY --from=build /usr/src/app/dist dist COPY --from=build /usr/src/app/dist dist
COPY package.json . COPY package.json .
COPY assets assets
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT [ "node", "./out/server/index.js" ] ENTRYPOINT [ "node", "./out/server/index.js" ]

View file

@ -1,5 +1,6 @@
services: services:
monofile: monofile:
container_name: "monofile"
image: monofile image: monofile
build: . build: .
env_file: .env env_file: .env