mirror of
https://github.com/HabitRPG/habitica.git
synced 2026-03-13 08:41:14 +08:00
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
|
||||
.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
|
||||
|
||||
Reference in New Issue
Block a user