generated from CoCreate-app/CoCreate-boilerplate
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c09c35f
commit a98978a
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM mhart/alpine-node:12 | ||
FROM node:14-alpine | ||
|
||
ENV NODE_ENV=production | ||
|
||
WORKDIR /usr/src/app | ||
|
||
COPY . /usr/src/app/ | ||
# RUN yarn install | ||
# RUN yarn add webpack-cli | ||
CMD [ "yarn", "install" ] | ||
RUN yarn install | ||
CMD [ "node", "/usr/src/app/src/index.js" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters