Created
August 10, 2021 03:27
-
-
Save deven96/31559f1d4f1f9693107e1f47fe5b2f79 to your computer and use it in GitHub Desktop.
A bad dockerfile
This file contains hidden or 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
# pull official base image | |
FROM node:13.12.0-alpine | |
# set working directory to /app | |
WORKDIR /app | |
# add `/app/node_modules/.bin` to $PATH | |
ENV PATH /app/node_modules/.bin:$PATH | |
# copy project to /app | |
COPY project/ ./ | |
# install dependencies | |
RUN npm install --silent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment