11498: fixed issues with Dockerfile-Dev (#11518)
This commit is contained in:
committed by
Sabe Jones
parent
6395070eb6
commit
fb74f59ae5
@@ -1,3 +1,2 @@
|
|||||||
node_modules
|
node_modules
|
||||||
.git
|
.git
|
||||||
website
|
|
||||||
|
|||||||
+11
-5
@@ -1,5 +1,11 @@
|
|||||||
FROM node:12
|
FROM node:12
|
||||||
WORKDIR /code
|
|
||||||
COPY package*.json /code/
|
# Install global packages
|
||||||
RUN npm install
|
RUN npm install -g gulp-cli mocha
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user