kawaiilingo-api/Dockerfile

20 lines
246 B
Docker
Raw Permalink Normal View History

2024-07-08 18:08:00 +00:00
FROM node:20-alpine3.19
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm install -g typescript
RUN tsc
# WORKDIR /usr/src/app/out
EXPOSE 3000
# CMD [ "node", "--env-file=../.env", "." ]
CMD [ "sh", "./run.sh" ]