mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-19 08:02:16 +03:00
17 lines
223 B
Docker
17 lines
223 B
Docker
FROM node:14-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json .
|
|
|
|
RUN npm install --only=production
|
|
|
|
COPY . .
|
|
|
|
RUN mkdir -p ./public ./data
|
|
RUN mv ./client/build/* ./public
|
|
RUN rm -rf ./client
|
|
|
|
EXPOSE 5005
|
|
|
|
CMD ["node", "server.js"] |