Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 31e6699b authored by Christophe Chaudier's avatar Christophe Chaudier :rocket:
Browse files

fix: we use only yarn

parent 72cb52f7
No related branches found
No related tags found
1 merge request!12 container create dockerfile
# --------[ BUILDER image ]--------
FROM node:14.15.4-alpine3.11 as builder
COPY package.json package-lock.json yarn.lock ./
COPY package.json yarn.lock ./
RUN yarn install \
&& mkdir /app && mv ./node_modules ./app
......@@ -25,10 +25,12 @@ RUN touch /var/run/nginx.pid && \
chown -R nginx:nginx /var/run/nginx.pid && \
chown -R nginx:nginx /var/cache/nginx
COPY cmd.sh .
RUN chmod +x cmd.sh
USER nginx
EXPOSE 8080
COPY cmd.sh .
EXPOSE 8080
COPY --from=builder /app/dist /var/www/
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment