mirror of
https://github.com/docker/getting-started-app.git
synced 2024-12-22 23:30:50 -05:00
8 lines
142 B
Docker
8 lines
142 B
Docker
|
# syntax=docker/dockerfile:1
|
||
|
|
||
|
FROM node:18-alpine
|
||
|
WORKDIR /app
|
||
|
COPY . .
|
||
|
RUN yarn install --production
|
||
|
CMD ["node", "src/index.js"]
|
||
|
EXPOSE 3000
|