Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
apps.education
apps.education-front
Commits
a6575fa7
Commit
a6575fa7
authored
Mar 24, 2022
by
Daniel Dehennin
Browse files
feat(docker): add Dockerfile
parent
24575d8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
a6575fa7
FROM
node:12 AS build
ARG
NODE_ENV=production
RUN
mkdir
/src
COPY
. /src
WORKDIR
/src
RUN
yarn
install
RUN
yarn generate
FROM
nginx:alpine
COPY
--from=build /src/public /usr/share/nginx/html
VOLUME
/usr/share/nginx/html
VOLUME
/etc/nginx
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment