Skip to content

Commit

Permalink
feat: add dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sanyu1225 committed Feb 20, 2024
1 parent c1c1d8b commit 92343af
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM node:16-alpine

WORKDIR /app

COPY package*.json yarn.lock ./
RUN apk add --no-cache yarn

RUN apk add --no-cache python3
ENV PYTHON=/usr/bin/python3

RUN apk add --no-cache make g++

RUN yarn install
COPY . ./

EXPOSE 3001

CMD ["yarn", "start"]

0 comments on commit 92343af

Please sign in to comment.