Dockerfile 내용 좀 부탁드립니다. #7
Answered
by
yoonjeong-kwon
hkh8308kevin
asked this question in
Q&A
-
안녕하세요. |
Beta Was this translation helpful? Give feedback.
Answered by
yoonjeong-kwon
May 9, 2022
Replies: 1 comment
-
@hkh8308kevin 님, 안녕하세요! ARG ARCH=
FROM ${ARCH}node:16.13.2-alpine3.14
ENV NODE_VERSION 16.13.2
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
RUN apk update
RUN apk --no-cache add curl
RUN apk add iproute2
COPY . .
EXPOSE 8080
CMD ["npm", "start"] |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yoonjeong-kwon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@hkh8308kevin 님, 안녕하세요!
실습에서 사용한 Dockerfile 입니다.