This commit is contained in:
alydev 2024-05-10 08:48:51 +10:00
parent 5c332ebadc
commit 36db8d8f04
No known key found for this signature in database
GPG key ID: F4D2C7A426DDA1BD

View file

@ -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"]