mirror of
https://github.com/docker/getting-started-app.git
synced 2024-12-22 23:30:50 -05:00
Update Dockerfile
This commit is contained in:
parent
0405d71f8b
commit
7d9cb9bed3
@ -1,6 +1,6 @@
|
|||||||
FROM node:18-alpine
|
FROM node:18-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn install
|
RUN yarn install --production
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
CMD ["node","src/index.js"]
|
CMD ["node","src/index.js"]
|
||||||
|
Loading…
Reference in New Issue
Block a user