f5d56766de
* Add Dockerfile * EXPOSE 8080 * Update DockerFile * spacing Co-authored-by: toinux <toinux@makintosh.local> Co-authored-by: toinux <toinux@makintosh>
19 lines
222 B
Docker
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
|