This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Kim Schuhmacher
committed
Apr 18, 2020
1 parent
6c93c18
commit 634d9da
Showing
3 changed files
with
24 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/back/node_modules | ||
/front/node_modules | ||
/front/dist | ||
npm-debug.log | ||
.git | ||
.gitignore | ||
.eslintignore | ||
.eslintrc.* |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# build stage | ||
FROM node:lts-alpine as build-stage | ||
WORKDIR /app | ||
COPY ./front/package*.json ./front/ | ||
RUN cd front && npm install | ||
COPY ./front ./front/ | ||
RUN cd front && npm run build | ||
COPY ./back/package*.json ./back/ | ||
RUN cd back && npm install | ||
COPY ./back ./back/ | ||
WORKDIR /app/back | ||
EXPOSE 3000 | ||
CMD ["npm", "run", "start"] |
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