Skip to content
This repository was archived by the owner on Dec 5, 2023. It is now read-only.

Commit 51a6ce7

Browse files
Updated the test Docker file to the latest stable version of nodejs. Switched the main Dockerfile to an image based on alpine
1 parent 3f737f9 commit 51a6ce7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
FROM mhart/alpine-node:6.3
1+
FROM node:6-alpine
22
ENV NODE_ENV "production"
33
ENV PORT 8079
44
EXPOSE 8079
55
RUN addgroup mygroup && adduser -D -G mygroup myuser && mkdir -p /usr/src/app && chown -R myuser /usr/src/app
6-
RUN npm install -g yarn
7-
86

97
# Prepare app directory
108
WORKDIR /usr/src/app

test/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM node:0.10.46
1+
FROM node:6-alpine
22

3-
RUN apt-get install -y make
3+
RUN apk update && apk add make
44

55
RUN npm install -g phantomjs-prebuilt
66
RUN npm install -g casperjs
@@ -9,4 +9,4 @@ RUN mkdir -p /usr/src/app
99

1010
WORKDIR /usr/src/app
1111

12-
ENTRYPOINT ["/bin/bash"]
12+
ENTRYPOINT ["/bin/sh"]

0 commit comments

Comments
 (0)