Files
AstralRinth/Dockerfile
Redblueflame bb8c0d264e Github Container Registry support (#125)
* Initial tests for ghcr.io integration

* Fixed login issue

* Try with only GHCR

* Removed unused system

* Time to break everything with hub.docker.com support

* Fix format error

* Update dockerfile to use latest recommended version of nodejs.
2021-03-28 12:27:17 -07:00

23 lines
385 B
Docker

# Dockerfile
FROM node:14.16.0-alpine
# create destination directory
RUN mkdir -p /usr/src/knossos
WORKDIR /usr/src/knossos
# update and install dependency
RUN apk update && apk upgrade
RUN apk add git
# copy the app, note .dockerignore
COPY . /usr/src/knossos/
RUN npm install
RUN npm run build
EXPOSE 3000
ENV NUXT_HOST=0.0.0.0
ENV NUXT_PORT=3000
ENTRYPOINT [ "npm", "start" ]