mirror of
https://github.com/CaramelFur/Picsur.git
synced 2025-10-26 06:56:06 +01:00
Rebrand to picsur
This commit is contained in:
21
support/picsur.Dockerfile
Normal file
21
support/picsur.Dockerfile
Normal file
@@ -0,0 +1,21 @@
|
||||
FROM node:16-alpine
|
||||
|
||||
# Sorry for the humongous docker container this generates
|
||||
# Maybe I'll trim it down some day
|
||||
|
||||
ADD . /picsur
|
||||
WORKDIR /picsur
|
||||
|
||||
RUN yarn install --frozen-lockfile
|
||||
|
||||
WORKDIR /picsur/shared
|
||||
RUN yarn build
|
||||
|
||||
WORKDIR /picsur/frontend
|
||||
RUN yarn build
|
||||
|
||||
WORKDIR /picsur/backend
|
||||
RUN yarn build
|
||||
|
||||
CMD ["yarn", "start:prod"]
|
||||
|
||||
Reference in New Issue
Block a user