mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 11:36:45 +00:00
11498: fixed issues with Dockerfile-Dev (#11518)
This commit is contained in:
parent
6395070eb6
commit
fb74f59ae5
2 changed files with 11 additions and 6 deletions
|
|
@ -1,3 +1,2 @@
|
|||
node_modules
|
||||
.git
|
||||
website
|
||||
|
|
|
|||
|
|
@ -1,5 +1,11 @@
|
|||
FROM node:12
|
||||
WORKDIR /code
|
||||
COPY package*.json /code/
|
||||
RUN npm install
|
||||
RUN npm install -g gulp-cli mocha
|
||||
FROM node:12
|
||||
|
||||
# Install global packages
|
||||
RUN npm install -g gulp-cli mocha
|
||||
|
||||
# Copy Habitica code into container and install dependencies
|
||||
WORKDIR /usr/src/habitica
|
||||
COPY . /usr/src/habitica
|
||||
|
||||
RUN npm install
|
||||
RUN npm run postinstall
|
||||
|
|
|
|||
Loading…
Reference in a new issue