Functional dockerfile.
This commit is contained in:
@@ -15,5 +15,8 @@ RUN npm install
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
ENV NODE_PATH=./build
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 8000
|
||||
CMD [ "node", "server.js" ]
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user