Minetrack/Dockerfile
itzwam f5d56766de
Add Dockerfile (#216)
* Add Dockerfile

* EXPOSE 8080

* Update DockerFile

* spacing

Co-authored-by: toinux <toinux@makintosh.local>
Co-authored-by: toinux <toinux@makintosh>
2020-12-15 19:53:29 -06:00

19 lines
222 B
Docker

FROM node:lts
WORKDIR /usr/src/app
COPY package*.json ./
RUN echo Installing dependencies \
&& apt-get update \
&& apt-get install sqlite3 -y \
&& npm ci
COPY . .
RUN npm run build
EXPOSE 8080
CMD node main.js