Removed Dockerfile.
This commit is contained in:
parent
fb4b451366
commit
b2d981b0c7
1 changed files with 0 additions and 20 deletions
20
Dockerfile
20
Dockerfile
|
@ -1,20 +0,0 @@
|
||||||
FROM node:10.14.2-alpine
|
|
||||||
|
|
||||||
# Set environment variables
|
|
||||||
ENV XBROWSERSYNC_API_VERSION 1.1.6
|
|
||||||
|
|
||||||
WORKDIR /usr/src/api
|
|
||||||
|
|
||||||
# Download release and unpack
|
|
||||||
RUN wget -q -O release.tar.gz https://github.com/xBrowserSync/api/archive/v$XBROWSERSYNC_API_VERSION.tar.gz \
|
|
||||||
&& tar -C . -xzf release.tar.gz \
|
|
||||||
&& rm release.tar.gz \
|
|
||||||
&& mv api-$XBROWSERSYNC_API_VERSION/* . \
|
|
||||||
&& rm -rf api-$XBROWSERSYNC_API_VERSION/
|
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
RUN npm install --only=production
|
|
||||||
|
|
||||||
# Expose port and start api
|
|
||||||
EXPOSE 8080
|
|
||||||
CMD [ "node", "dist/api.js"]
|
|
Loading…
Reference in a new issue