diff --git a/dockerfile b/dockerfile index 88df526..35e3894 100644 --- a/dockerfile +++ b/dockerfile @@ -2,7 +2,6 @@ FROM node:10.14.2-alpine # Set environment variables ENV XBROWSERSYNC_API_VERSION 1.1.6 -ENV XBROWSERSYNC_API_PORT 8080 WORKDIR /usr/src/api @@ -17,5 +16,5 @@ RUN wget -q -O release.tar.gz https://github.com/xBrowserSync/api/archive/v$XBRO RUN npm install --only=production # Expose port and start api -EXPOSE $XBROWSERSYNC_API_PORT +EXPOSE 8080 CMD [ "node", "dist/api.js"] \ No newline at end of file