Sign inSign up

szpaczyn/xbrowsersync

By szpaczyn

Updated over 5 years ago

ARM64 and armhf version of docker image

Image
1

324

szpaczyn/xbrowsersync repository overview

Docker images for arm64 and armhf architecture.

Source: https://github.com/xbrowsersync/api-docker

Dockerfile

FROM node:12.16.2-alpine                                                                                                                                   
                                                                                                                                                           
# Set environment variables                                                                                                                                
ENV XBROWSERSYNC_API_VERSION 1.1.13                                                                                                                       
                                                                                                                                                           
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"]     

Tag summary

Content type

Image

Digest

Size

39.4 MB

Last updated

over 5 years ago

docker pull szpaczyn/xbrowsersync:v1.1.13