DockerMC/.docker/runner/Dockerfile
NorbiPeti 462f19c338
Switch to TS from Java
It's easier and faster to work with
Added watch compilation as well
2022-06-25 14:12:55 +02:00

13 lines
151 B
Docker

FROM node:16 AS dev
WORKDIR src
ENTRYPOINT ["npm", "run", "start:watch"]
FROM dev AS prod
COPY src .
RUN npm rebuild
ENTRYPOINT ["npm", "start"]