stock-exporter/Dockerfile
ztimson f89b1721f9
All checks were successful
Build and publish / Git Tag (push) Successful in 3s
Build and publish / Build Container (push) Successful in 20s
Fixed environment setup
2025-04-17 12:19:56 -04:00

11 lines
149 B
Docker

FROM node:alpine
ARG PORT="3000"
ENV PORT=$PORT
COPY . .
RUN npm install && npm run build && rm -rf src
CMD ["node", "dist/main.js"]
EXPOSE $PORT