a
This commit is contained in:
parent
5c332ebadc
commit
36db8d8f04
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ FROM node:14.16.0-alpine
|
|||
ENV XBROWSERSYNC_API_VERSION 1.1.13
|
||||
|
||||
WORKDIR /usr/src/api
|
||||
COPY settings.json /usr/src/api/config/settings.json
|
||||
|
||||
# Download release and unpack
|
||||
RUN wget -q -O release.tar.gz https://github.com/xBrowserSync/api/archive/v$XBROWSERSYNC_API_VERSION.tar.gz \
|
||||
|
@ -17,4 +18,4 @@ RUN npm install --only=production
|
|||
|
||||
# Expose port and start api
|
||||
EXPOSE 8080
|
||||
CMD [ "node", "dist/api.js"]
|
||||
CMD [ "node", "dist/api.js"]
|
||||
|
|
Loading…
Reference in a new issue