mirror of
https://github.com/pawelmalak/flame.git
synced 2024-12-19 08:02:16 +03:00
Merge pull request #46 from rgriffogoes/master
Adding npm install on client code
This commit is contained in:
commit
db4a10171e
@ -10,6 +10,7 @@ COPY . .
|
||||
|
||||
RUN mkdir -p ./public ./data \
|
||||
&& cd ./client \
|
||||
&& npm install --production \
|
||||
&& npm run build \
|
||||
&& cd .. \
|
||||
&& mv ./client/build/* ./public \
|
||||
@ -19,4 +20,4 @@ EXPOSE 5005
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
CMD ["node", "server.js"]
|
||||
CMD ["node", "server.js"]
|
||||
|
Loading…
Reference in New Issue
Block a user