Skip to content

Commit 6de1f12

Browse files
committed
Create dockerfile
1 parent ea2a04f commit 6de1f12

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Dockerfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# syntax=docker/dockerfile:1
2+
3+
FROM node:lts-alpine
4+
WORKDIR /app
5+
COPY . .
6+
RUN yarn install --production
7+
CMD ["node", "src/index.js"]
8+
EXPOSE 3000

0 commit comments

Comments
 (0)